package com.kitty.game.mail.message;

import com.kitty.mina.annotation.StringField;

/**
 * 邮件信息
 */
public class MailInfo {
    
    private String mailId;//邮件ID?
    
    private short type=0;
    
    private String sender;

    private String mailTitle;//邮件标题
    
    @StringField(1)
    private String mailMsg;//邮件内容
    
    @StringField(1)
    private String giftItem;//邮件附带物品
    
    private int startTime;//开始时间
    
    private int endTime;//结束时间
    private short stauts = 0;//是否领取附带物品 1未领取 2已领取

    public String getMailId() {
        return mailId;
    }

    public void setMailId(String mailId) {
        this.mailId = mailId;
    }

    public short getType() {
        return type;
    }

    public void setType(short type) {
        this.type = type;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getMailTitle() {
        return mailTitle;
    }

    public void setMailTitle(String mailTitle) {
        this.mailTitle = mailTitle;
    }

    public String getMailMsg() {
        return mailMsg;
    }

    public void setMailMsg(String mailMsg) {
        this.mailMsg = mailMsg;
    }

    public String getGiftItem() {
        return giftItem;
    }

    public void setGiftItem(String giftItem) {
        this.giftItem = giftItem;
    }

    public int getStartTime() {
        return startTime;
    }

    public void setStartTime(int startTime) {
        this.startTime = startTime;
    }

    public int getEndTime() {
        return endTime;
    }

    public void setEndTime(int endTime) {
        this.endTime = endTime;
    }

    public short getStauts() {
        return stauts;
    }

    public void setStauts(short stauts) {
        this.stauts = stauts;
    }
}
